package com.ruoyi.shop.record.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.shop.api.domain.Shop;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 核销记录对象 verification_record
 * 
 * @author ruoyi
 * @date 2025-02-22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class VerificationRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  核销记录id编号 */
    private Long id;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long mid;

    /** 订单id */
    @Excel(name = "订单id")
    private Long oid;

    /** 服务项目名 */
    @Excel(name = "服务项目名")
    private String name;

    /** 下单用户 */
    @Excel(name = "下单用户")
    private String username;

    /** 实付金额 */
    @Excel(name = "实付金额")
    private BigDecimal price;

    /** 核销时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "核销时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    /** 删除状态  0-正常  1-删除 */
    @Excel(name = "删除状态  0-正常  1-删除")
    private String del;


    @Excel(name = "店铺信息")
    private Shop shop;

    @Excel(name = "泛性搜索属性")
    private String searchValue;


}
